﻿using System;
using System.Linq;
using System.Linq.Expressions;

namespace ShopSpace.Core.Repositories
{
	public interface IRepository<T>
		where T : Entity
	{
		void Add(T target, string addedBy);
		IQueryable<T> AsQueryable();
		void Delete(T target, string deletedBy);
		T Get(int id);
		void Update(T target, string updatedBy);
	}
}
